<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div id="box">
    <button id="btn">你好</button>
</div>
<script>
var box = document.getElementById("box");
var btn = document.getElementById("btn");
box.addEventListener("click", function (){
    console.log("box 1...");
}, true)
box.addEventListener("click", function (){
    console.log("box 2...");
}, false)
btn.addEventListener("click", function (){
    console.log("btn...");
})
</script>
</body>
</html>